package com.retrofix;

import com.retrofix.entity.ABean;
import com.retrofix.entity.BaseEntity;
import com.retrofix.entity.TestBean;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface APIFunction {

    @GET("musicRankingsDetails")
    Observable<BaseEntity<List<TestBean>>> getTestData(@Query("type") int type);
}
